<?php


namespace common\annotation;

use Attribute;

#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_CLASS)]
class OperationLog
{
    /**
     * AuthCode constructor.
     * @param string $module
     * @param string $action
     * @param $type
     */
    public function __construct(public string $module = "", public string $action = "", public $type = 2)
    {
    }

    const ADD = 1;
    const UPDATE = 2;
    const REMOVE = 3;
    const SELECT = 4;

}